package com.shop.cereshop.business.dao.dl;

import com.shop.cereshop.business.dl.logic.domian.CerePlatformUserPoint;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CerePlatformUserPointDao {
    int deleteByPrimaryKey(Long pointId);

    int insert(CerePlatformUserPoint record);

    int insertSelective(CerePlatformUserPoint record);

    CerePlatformUserPoint selectByPrimaryKey(Long pointId);

    int updateByPrimaryKeySelective(CerePlatformUserPoint record);

    int updateByPrimaryKey(CerePlatformUserPoint record);

    List<CerePlatformUserPoint> getAll(@Param("phone") String phone);

}